/**
 * vuex 用户状态管理模块
 */
import { application } from "@/common/config/dictionary.js";
const lifeData = uni.getStorageSync("lifeData") || {};
const runningData = lifeData.runningData || {};
const activeClassification = {};
application.forEach((item) => {
  activeClassification[item.type] = "";
});

export default {
  namespaced: true,
  state: {
    activeClassification:
      runningData.activeClassification || activeClassification, //当前分类
  },
  getters: {},
  mutations: {},
  actions: {},
};
